
Topic Name
Introduction
Environment Setup
HTML Element or Tag
HTML Attributes
HTML Styles
HTML Headings Tag
HTML Paragraphs Tag
HTML Image Tag
HTML Link Tag
HTML Span Tag
HTML Iframes Tag
HTML ‘div’ Tag
HTML Text Formatting
HTML Lists (OL,UL) Tag
HTML Table Tag
HTML Forms (text box and button) Tag
HTML Layout Design
In the section tables tag is more important for show the data in user. When we show the list or collection then generally, we use the table. Table tag are combination are tr, td, th tags. Td means table data, tr means table row, th means table head. We can also apply attribute on table tag and under table element etc. Now given bellow the table example code and explain the code:
<!DOCTYPE html>
<html>
<head>
<title>This is HTML</title>
</head>
<body>
<!--HTML Text Formatting-->
<div>
<table style="text-align: center;">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Farhan</td>
<td>Sakib</td>
<td>25</td>
</tr>
<tr>
<td>Reza</td>
<td>Karim</td>
<td>28</td>
</tr>
<tr>
<td>Tofael</td>
<td>Ahamed</td>
<td>26</td>
</tr>
</table>
</div>
</body>
</html>
In this part we see the table tag and use the tr td and th tag for show the table data by the row and column wise. We can use style of the table border.